package 测试类;

import jdk.swing.interop.SwingInterOpUtils;

import java.util.Scanner;

public class test2 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String A = sc.next();
		String B = sc.next();
		String regex = "[1-9]{1,4}";
		String strA = null;
		String strB = null;

		if (A.matches(regex)){
			strA = A;
		}else{
			strA = "?";
		}

		if (B.matches(regex)){
			strB = B;
		}else{
			strB = "?";
		}
			if (strA != "?" && strB != "?") {
				System.out.println(strA + " + " + strB + " = " + (Integer.parseInt(strA) + Integer.parseInt(strB)));
			} else {
				System.out.println(strA + " + " + strB + " = " + "?");
			}
	}
}
